<template>
  <div>
    <van-nav-bar
      title="通用"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
    />
    <van-cell title="多语言" is-link :to="{name:'LangChoose'}" class="lang" />
    <van-cell title="文字大小" is-link :to="{name:'TextSize'}" class="textSize" />
    <van-cell title="清除缓存" is-link class="clearCache" />
  </div>
</template>

<script>
export default {
  name: "Universal",
  methods: {
    onClickLeft() {
      this.$router.back(); //返回按钮
    },
  },
};
</script>

<style scoped>
.lang {
  margin-top: 0.3rem;
}
.textSize {
  margin-bottom: 0.3rem;
}
</style>